import express from "express";
import articlehandle from "./handle/articlehandle";
import reg from "./middleware/reg";
const router = express.Router();

router.get("/getTopHeat", articlehandle.getTopHeat);
router.get("/getTopGift", articlehandle.getTopGift);
router.get("/getTopTime", articlehandle.getTopTime);
router.get("/getAllLimit", reg.limit, articlehandle.getAlllimt);
router.get("/findTitle", reg.limit, articlehandle.getFindTitle);
router.post("/add", articlehandle.add);
router.get("/findpk", articlehandle.findpk);
router.get("/getAlllabel", articlehandle.Alllabel);

export default router;
